home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / GNUSED.ZIP / sed / Makefile.os2 < prev    next >
Encoding:
Makefile  |  1996-02-08  |  933 b   |  39 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for GNU SED, a batch editor.
  3. # Copyright (C) 1987, 1991 Free Software Foundation, Inc.
  4.  
  5. release:
  6.     $(MAKE) -f Makefile.os2 all \
  7.     CC="gcc -Zomf -O" O=".obj" LFLAGS="-Zcrtdll -Zstack 512" \
  8.     DFLAGS="-Zcrtdll -Zdll" REGEX=../rx/rx.lib DYNLIB=gnurx.dll
  9. debug:
  10.     $(MAKE) -f Makefile.os2 all \
  11.     CC="gcc -g" O=".o" LFLAGS="" DFLAGS="" REGEX=../rx/rx.a
  12.  
  13. CFLAGS = -DUSG -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_VPRINTF -DHAVE_MEMCPY
  14.  
  15. OBJS = sed$O utils$O getopt$O getopt1$O
  16. DLL = rx$O
  17.  
  18. .SUFFIXES: .c $O
  19.  
  20. .c$O:
  21.     $(CC) -c $(CFLAGS) -I. -I../rx $<
  22.  
  23. all: sed.exe
  24.  
  25. sed.exe: $(OBJS) $(REGEX)
  26.     $(CC) -o $@ $(OBJS) $(REGEX) $(LFLAGS)
  27.  
  28. ../rx/gnurx.dll ../rx/rx.lib:
  29.     $(MAKE) -C ../rx -f Makefile.os2 release
  30.  
  31. ../rx/rx.a:
  32.     $(MAKE) -C ../rx -f Makefile.os2 debug
  33.  
  34. sed$O rx$O: ../rx/rx.h 
  35. sed$O getopt1$O: getopt.h
  36.  
  37. clean:
  38.     rm -f *.o *.obj rx.lib core
  39.